% !!! działa z pdflatex + bibtex !!!

% dodać opcję 'draft', jeśli chce się zobaczyć zaznaczone np. gdzie tabelki wychodzą na prawy margines
\documentclass[12pt,a4paper,titlepage, oneside]{book}

%% settings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\input{settings/settings}

\usepackage[left=3cm, right=2cm, top=2cm, bottom=2cm]{geometry} % marginesy

% typ czcionki
%\usepackage{times}                        % Times New Roman
%\usepackage{fouriernc}                    % New Century Schoolbook
\usepackage[bitstream-charter]{mathdesign} % Charter BT

%% pdf document properites (here only title, authors etc.) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\hypersetup{
	pdftitle={Grafowa baza danych},
	pdfauthor={
		Joanna Kącka,
		Paweł Barszcz,
		Marcin Lewandowski,
		Krystian Lieber,
		Jakub Pawłot,
		Michał Staroń,
		Maciej Szawłowski	
	},
	pdfsubject={Projekt z~przedmiotu RSO na WEiTI PW w~semestrze 12L, tematyka: grafowa baza danych},
	pdfcreator={TeXMaker},
	pdfproducer={
		Joanna Kącka,
		Paweł Barszcz,
		Marcin Lewandowski,
		Krystian Lieber,
		Jakub Pawłot,
		Michał Staroń,
		Maciej Szawłowski
	},
	pdfkeywords={rso systemy rozproszone projekt grafowa baza danych Neo4j},
}

%% title page data etc. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\title{Grafowa baza danych}
%\subtitle{RSO, projekt w~semestrze 12L}
\date{\today}
\author{
	{\bf grupa 2B} \\
	Joanna Kącka, \\
	Paweł Barszcz, Marcin Lewandowski, \\
	Krystian Lieber, Jakub Pawłot, \\
	Michał Staroń, Maciej Szawłowski
}

%% document start %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\begin{document}

%% front matter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\frontmatter
\maketitle               % strona tytułowa
\singlespacing
\pagestyle{plain}
\setcounter{tocdepth}{1} % poziom konspektu uwzględniony w spisie treści
\tableofcontents         % spis treści

%% main matter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\mainmatter
\onehalfspacing
\pagestyle{headings}

%\include{mainMatter/latexPrzyklady}

\addcontentsline{toc}{chapter}{Wstęp}
\include{mainMatter/wstep}

\part{Neo4j -- grafowa baza danych}

\include{mainMatter/etap1-grafoweBazy}
\include{mainMatter/etap1-neo4j}
\include{mainMatter/etap1-instalacja}
\include{mainMatter/etap1-wadyiZalety}
\include{mainMatter/etap1-inneBazyGrafowe}

\part{Projekt aplikacji}

\include{mainMatter/etap2-projektAplikacji}
\include{mainMatter/etap2-przykladowyScenariusz}
%\include{mainMatter/etap2-zastosowanie}
\include{mainMatter/etap2-architektura}
\include{mainMatter/etap2-skalowalnosc}
%\include{mainMatter/etap2-projektTestow}

\part{Wyniki}

\include{mainMatter/etap3-architektura}
\include{mainMatter/etap3-konfiguracja}
\include{mainMatter/etap3-daneTestowe}
\include{mainMatter/etap3-testy}

\addcontentsline{toc}{chapter}{Podsumowanie}
\include{mainMatter/podsumowanie}

%% bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\onehalfspacing
\cleardoublepage
\pagestyle{headings}
\phantomsection
\addcontentsline{toc}{chapter}{Bibliografia}
\nocite{*}	% dodanie do bibliografii wszystkich wpisów, do których nie ma odwołań w tekście
\bibliographystyle{bibliography/plain-PawelBarszcz}
\bibliography{bibliography/bibliografia}

%% appendices %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\appendix
\onehalfspacing
\pagestyle{headings}
\include{appendices/zarzadzanieProjektem}
\include{appendices/srodowisko}

%% document end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

\end{document}
